#ifndef DATA_H
#define DATA_H

#include "cell.h"
#include "rules.h"
#include <QtCore>

class Data
{
    friend class MainWindow;
    QList<Cell*> *cells;
    Rules *rules;
    void clearData();

public:
    void setScale(qreal *scale);
    void readSpiceFile(QString fileName, QPlainTextEdit *debug);
    void addCell(Cell* c);
    Data();
};

#endif // DATA_H
